const webpack = require('webpack')
module.exports = {
    configureWebpack: {
        plugins: [
            new webpack.ProvidePlugin({
                'window.Quill': 'quill/dist/quill.js',
                'Quill': 'quill/dist/quill.js'
            })
        ]
        },
    baseUrl: './',
    assetsDir: 'static',
    productionSourceMap: false,
    devServer: {
        host:"192.168.0.105",
        port: 8081,
        disableHostCheck: true,
        proxy: {
            '/api': {
                    // target: 'http://139.215.190.237:8081/',
                    target:"http://buxn.natapp1.cc/",
                    changeOrigin: true,
                    pathRewrite: {
                      '^/ap1': '/api',
                    },
                },
        }
    }
};
